import game.GameField;

import java.awt.Dimension;

import javax.swing.JFrame;

import draw.DrawPanel;

public class Apl {

	public static void main(String[] args) {
		JFrame frame = new JFrame();
		GameField field = new GameField();
		DrawPanel panel = new DrawPanel(field);
		frame.setSize(new Dimension(field.sx * field.bsize + field.bsize,
				field.sy * field.bsize + field.bsize));
		frame.setVisible(true);
		frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
		frame.setContentPane(panel);
	}

}
